package com.yunban.project.template.model.domain;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author: lijiajun
 * @date: 2025-02-13
 * @version: 1.0
 */
@Data
@TableName
@Schema(description = "个性化配置")
public class PersonalizedConfig implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Long id;
    @TableField(fill = FieldFill.INSERT)
    private long createdBy;
    private String headImage;
    private String footerImage;
    private int fontSize;
    private int fontSpace;
    private String dominantColor;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createdAt;
    @TableLogic
    private boolean deleted = false;
}
